﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--<meta http-equiv="X-UA-Compatible" content="IE=7" /><!--如果是IE8时强制以IE7显示-->
<meta name="keywords" content="食品笔记,食品,食品安全,饮食,饮食安全,生活"><!--SEO关键字-->
<meta name="description" content="食品笔记，你的饮食安全卫士"><!--SEO描述-->
<link rel="shortcut icon" type="image/ico" href="images/favicon.ico"><!--选项卡图标-->
<title></title>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/style.css">
<!--[if ie]>
<link rel="stylesheet" href="css/ie.css">
<script type="text/javascript" src="js/DD_belatedPNG.js" ></script>
<script type="text/javascript">
DD_belatedPNG.fix('.png');/*在需要png透明的元素里面加上.png样式即可（class="png"）*/
</script>
<![endif]-->
<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=slide&img=1&pos=right" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
		var bds_config = {"bdTop":82};
		document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END -->
<script type="text/javascript">
		var bds_config = {"bdTop":82};
		document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END -->
<script>
		function toQzoneLogin()
		{
			var A=window.open("qq/oauth/qq_login.php","TencentLogin","width=450,height=320,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
		} 
	</script>
</head>
<?php
require_once("register.class.php");
?>
<body>
	<div class="header w "><!-- header -->
		<div class="index-header w960 h bc">
			<a href="index.php" class="logo dib png fl mt10"></a>
		</div>
	</div>
	<div class="reg_main w oh">
		<div class="w960 bc h mb100 mt30">
			<div class="reg_left fl mb100">
				<h2 class="f24 h2 mb10">注册帐号</h2>      
				<form action="register.php" method="post" id="regist_show" class="reg_form">
					<fieldset>
						<p class="mt20">
							<label class="reg_label fl tr w50 mr10" for="email">邮箱</label>
							<input value="" class="reg_text pr5 pl5" id="email" name="email" type="text" />
							<label class="reg_error" generated="true" id="emailTips" for="email"></label><!-- 邮件判断 -->
							<div class="greenPrompt fl none">
								<div class="greenPromptCenter fl co3 f12">例如: abc@email.com</div>
							</div>
						</p>
						<p class="mt20">
							<label class="reg_label fl tr w50 mr10" for="password">密码</label>
							<input class="reg_text pr5 pl5" name="password" id="user_pass" type="password" />
							<label class="reg_error" generated="true" id="user_passTips" for="password"></label><!-- 密码判断 -->
							<div style="display: none;" class="greenPrompt fl">
								<div class="greenPromptCenter fl co3 f12">字母、数字或符号，最短6位，区分大小写</div>
							</div>
						</p>		
						<p class="mt20">
							<label class="reg_label fl tr w50 mr10" for="nick">昵称</label>
								<input class="reg_text pr5 pl5" name="nick" id="nick" type="text" />
							<label class="reg_error" generated="true" id="nickTips" for="nick"></label><!-- 昵称判断 -->
							<div class="greenPrompt fl none">
								<div class="greenPromptCenter fl co3 f12">2~12位中文、字母、数字、下划线或减号</div>
							</div>
						</p>
						<p class="pl60"><small>来食品笔记的朋友，名号得响亮哟～</small></p>
						<p class="mt20">
							<label class="reg_label fl tr w50 mr10" for="code">验证码</label>
							<input maxlength="4" class="reg_text pr5 pl5 reg_code" name="yzm" id="yzm" type="text" />
							<label class="reg_error" generated="true" id="yzmTips" for="code"></label><!-- 验证码判断 -->
							<a href="" class="yzm"><img src="yzm.php" id="change_randcode" ></a>
							<a href="" class="a4 f12" onclick="change_code();">看不清，换一张</a>
						</p>
						<p class="mt20 pl60">
							<label><input checked="checked" name="agree" type="checkbox">
								<span class="f12">&nbsp;&nbsp;我已经认真阅读并同意食品笔记的<a href="" target="_blank" class="a4">"使用条款"</a></span>
							</label>
						</p>
						<p class="mt20 pl60">
							<input class="reg_sub f16" hidefocus="true" value="注册" id="register_submit" name="sub" type="submit" />
							<input name="register_submited" value="true" type="hidden" />
						</p>
					</fieldset>
				</form>
			</div>
    		<div class="reg_right fl">
    			<div class="now-reg mb40">已有帐号? <a href="login.php" class="a4">[登录]</a></div>
    			<p class="f18">合作网站帐号登录</p>
    			<ul class="terrace">
    				<li class="mt15"><a href="#" onclick='toQzoneLogin()'><img src="qq/img/qq_login.png"></a></li>
    			<!--	<li class="mt15"><a href="" class="reg_a_icon reg_tencent db score_img">腾讯微博</a></li>
    				<li class="mt15"><a href="" class="reg_a_icon reg_sohu db score_img">搜狐微博</a></li>
    				<li class="mt15"><a href="" class="reg_a_icon reg_163 db score_img">网易微博</a></li>-->
    			</ul>
    		</div>

		</div>
	</div>
	<div class="footer w"><!-- footer -->
		<div class="w960 bc pr">
			<div class="welcome-footer bc">
				<span class="iphone-app-img dib png fl"></span><a href="#" class="iphone-app f12 a3 fl">iphone应用</a><a href="foodnote.apk" class="android-app f12 a3 fr">android应用</a><span class="android-app-img dib png fr"></span>
			</div>
			<div class="welcome-about mb10">
				<p class="f12 tc"><a href="#" class="a3">关于我们</a><span class="ml10 mr10">|</span><a href="#" class="a3">使用条款</a><span class="ml10 mr10">|</span><a href="#" class="a3">常见问题</a></p>
			</div>
			<div class="welcome-about f12 tc">
				<p class="a3 f12 c91">Copyright &copy; 2011-2012 Foodnote&nbsp;&nbsp;&nbsp;&nbsp; 湘ICP备09004495号-5</p>
			</div>
		</div>
	</div>
<!-- JavaScript-->
<script type="text/javascript" src="js/jquery-1.6.min.js"></script>
<script type="text/javascript" src="js/jquery.blueberry.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/ajax.js"></script>
<script language="javascript">
function change_code()
{
	document.images["change_randcode"].src = "yzm.php?dumy="+Math.random();
}
</script>
<div class="none">
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fbba169f4f4508eb5cc1c5618eeb3c59d' type='text/javascript'%3E%3C/script%3E"));
</script>
</div>

</body>
</html>